﻿using FH.Application.UserApp;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;

namespace WebSite.Controllers
{
    public class FHController : Controller
    {
        protected readonly ISettingService _settingService;
        public FHController(ISettingService settingService)
        {
            _settingService = settingService;
        }
        public override void OnActionExecuting(ActionExecutingContext context)
        {
            ViewBag.AppConfig = _settingService.GetAppConfig();
            base.OnActionExecuting(context);
        }
    }
}